#!/bin/bash

pgid=$(ps -eo pgid,cmd | grep fetcher.sh | awk '{print $1; exit}')
pkill -g $pgid
sleep 2
pgrep -g $pgid >/dev/null && pkill -9 -g $pgid
